package com.jic.product.rest.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.List;

/**
 * 商品表
 *
 * @author :
 * @version : v1.0.0
 * @email :
 * @since : 2020-01-10 07:03:01
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ProductRestRequest {
    @ApiModelProperty(value = "类目id")
    private Long categoryId;

    @ApiModelProperty(value = "所属组织id")
    private Long deptId;

    @ApiModelProperty(value = "关键词-商品名称")
    private String chineseName;

    @ApiModelProperty(value = "关键词-商品品牌")
    private Long brandId;



    @ApiModelProperty(value = "1 代表综合 2 代表价格最高 3 代表价格最低 4代表评价最多 5代表销量 6代表新品")
    private Integer type;

    @ApiModelProperty(value = "当前页", example = "1",required = true)
    private Integer start = 1;

    @ApiModelProperty(value = "每页显示条数，默认 10", example = "10",required = true)
    private Integer limit = 10;

    @ApiModelProperty(value = "最大价格")
    private BigDecimal maxPrice;

    @ApiModelProperty(value = "最小价格")
    private BigDecimal minPrice;

    @ApiModelProperty(value = "后台类目集合Ids")
    private List<Long> categoryIds;

    @ApiModelProperty(value = "商品集合ids")
    private List<Long> productIds;

    @ApiModelProperty(value = "关键词-商品品牌集合")
    private List<Long> brandIds;

    @ApiModelProperty(value = "促销活动id")
    private String promotionId;

    @ApiModelProperty(value = "促销类型:1单一促销,2满量促销,3满额促销,4秒杀,5赠送类促销,6组合促销7.单品X件优惠,8换购,9预售,10拼团占用,11优惠券占用")
    private Integer promotionType;

}
